-
-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ui): add nodes table filter + persistent UI settings #90
Conversation
Pull Request Test Coverage Report for Build 449658008
💛 - Coveralls |
@robertsLando this is a fully working port of the nodes table filtering - adjusted to the new columns that are now in use by zwavejs2mqtt. There are still some issues and questions, I'd like to discuss with you to make it easier to maintain by reducing redundancy and changes cluttered over several places in the code:
|
Persisted settings: * Dark mode * Show hidden nodes * Number of items per page on nodes table * Column filters * Column sorting
this.filters.manufacturer | ||
? this.filters.manufacturer.selections | ||
? this.filters.manufacturer.selections | ||
: [] | ||
: [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This too
BREAKING CHANGE: entities names could change
Co-authored-by: Andreas Hochsteger <andreas.hochsteger@oeamtc.at>
BREAKING CHANGE: Hass entities ids will change Co-authored-by: V Aretakis <vassilis@aretakis.eu>
* feat(ui): groups values by command class * fix: remove genre from valueId * fix: lint issues
* fix: undefined values * fix: add more logging * fix(ui): show read only list values
* add notification part 1 * add translation from states to value_template * support both number and text * add motion sensor icon * add new icon for motion sensor * add TODO for icons. Add logic on mapped default value * patch default value, to show value_json.value when uknown mapping entry is posted * remove extra bracket * fix linting issues Co-authored-by: V. Aretakis <v.aretakis@elsevier.com>
@robertsLando it took a bit longer than I hoped but now the refactored version of the node table filter + persistent UI settings with almost all duplicate patterns is finished. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ahochsteger Really nice work here! Love the actual implementation, much more cleaner! GG. There are some things that need to be fixed, give them a check when you have time, thanks!
* Skip filter on invalid Regex * Add form input validation * Naming: until -> to * Naming: reset filter -> reset filters
@robertsLando thanks for your feedback! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. GG @ahochsteger ! :)
Let you sqash and merge if you are done here. I have tested your changes and everything looks good |
This is a port of the nodes table filtering feature from zwave2mqtt (see OpenZWave/Zwave2Mqtt#823).
Tasks: